#pragma once
#include<iostream>
using namespace std;
#include<vector>
#include<map>
#include<algorithm>
#include"speaker.h"
#include<deque>
#include<functional>
#include<string>
#include<numeric>
#include<fstream>
class SpeechManager
{

public:
	SpeechManager();

	void showmenu();
	void  exitsystem();
	void initsystem();

	void creatspeaker();

	void startspeech();

	void speechdraw();
	void speechcontest();

	void showscore();

	void saverecord();
	void loadrecord();
	void  showrecord();

	void clearrecord();
	bool fileisempty;
	map<int, vector<string>>mrecord;
	~SpeechManager();

	vector<int>v1;
	vector<int>v2;
	vector<int>vvictory;
	map<int, speaker>mspeaker;

	int index;


};
